package com.day16.Collections;
import java.util.List;
import java.util.ArrayList;
public class CollectionsDemo01 {
    public static void main(String[] args) {
      List<Integer> list = new ArrayList<Integer>();
      list.add(30);
      list.add(20);
      list.add(50);
      list.add(10);
      list.add(40);
      System.out.println(list);
    }
}
